import request from '@/utils/request'

// 查询瞬时流量均值报列表
export function listDispatchInstantaneousFlowAverageReports(query) {
  return request({
    url: '/system/dispatchInstantaneousFlowAverageReports/list',
    method: 'get',
    params: query
  })
}

// 查询瞬时流量均值报详细
export function getDispatchInstantaneousFlowAverageReports(instantaneousFlowAverageReportsId) {
  return request({
    url: '/system/dispatchInstantaneousFlowAverageReports/' + instantaneousFlowAverageReportsId,
    method: 'get'
  })
}

// 新增瞬时流量均值报
export function addDispatchInstantaneousFlowAverageReports(data) {
  return request({
    url: '/system/dispatchInstantaneousFlowAverageReports',
    method: 'post',
    data: data
  })
}

// 修改瞬时流量均值报
export function updateDispatchInstantaneousFlowAverageReports(data) {
  return request({
    url: '/system/dispatchInstantaneousFlowAverageReports',
    method: 'put',
    data: data
  })
}

// 删除瞬时流量均值报
export function delDispatchInstantaneousFlowAverageReports(instantaneousFlowAverageReportsId) {
  return request({
    url: '/system/dispatchInstantaneousFlowAverageReports/' + instantaneousFlowAverageReportsId,
    method: 'delete'
  })
}
